﻿@model List<CMSMVC4.CateLang>
@if (Model != null)
{
    foreach (var i in Model)
    {
        if (i.Category.Id == ViewBag.paren)
        {
            <div class="dichvu_mid_left_menu focus" index="@i.Category.Id" paren='@i.Category.paren' clc ="on" cur = "on">
                @i.Name
            </div>  
            @Html.Action("ShowThietBi", "DichVu", new { id = ViewBag.id, paren = i.Category.Id, show = true })
        }
        else
        {
            <div class="dichvu_mid_left_menu notfocus" index="@i.Category.Id" paren='@i.Category.paren' clc ="off" cur = "off">
                @i.Name
            </div>
            @Html.Action("ShowThietBi", "DichVu", new {id = ViewBag.id, paren = i.Category.Id, show = false})
        }
    }
}